from pathlib import Path
p = Path('F:\\python\\第1章\\供应商信息表.xlsx')
p_part = p.parts
a = p_part[0]
b = p_part[2]
print(p_part)
print(a)
print(b)
